/*
 *    Copyright (c) 2018-2025, cloud All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: cloud
 */

package com.fuyao.cloud.space.dto;

import com.fuyao.cloud.common.data.mybatis.SearchCondition;
import com.fuyao.cloud.common.data.mybatis.SearchOp;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 房屋模块搜索DTO类
 *
 * @author liyue
 * @date 2022年12月29日14:07:42
 */
@Data
public class SearchRoomLandDTO {

    private static final long serialVersionUID = 1L;

    @SearchCondition()
    @ApiModelProperty("主键Id")
    private Long id;

    @SearchCondition()
    @ApiModelProperty("单位、部门ID")
    private Long deptId;

    @SearchCondition()
    @ApiModelProperty("部门全名称")
    private String deptFullname;

    @SearchCondition()
    @ApiModelProperty("创建人")
    private String createBy;

    @SearchCondition()
    @ApiModelProperty("创建人ID")
    private Long createId;

    @SearchCondition()
    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @SearchCondition()
    @ApiModelProperty("修改人")
    private String updateBy;

    @SearchCondition()
    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value="资产编码")
    @SearchCondition(op = SearchOp.LIKE)
    private String assetNumber;

    @ApiModelProperty(value="资产名称")
    @SearchCondition(op = SearchOp.LIKE)
    private String assetName;

    @SearchCondition(op = SearchOp.BETWEEN)
    @ApiModelProperty(value="登记日期")
    private List<LocalDate> registrationDate;

    @ApiModelProperty(value="使用状况{在用、出租出借、闲置、待处置（待报废、销毁）、已处置}")
    @SearchCondition()
    private String status;

    @ApiModelProperty(value="土地编号")
    @SearchCondition(op = SearchOp.LIKE)
    private String landNumber;

    @ApiModelProperty(value="坐落位置")
    @SearchCondition(op = SearchOp.LIKE)
    private String location;

    @ApiModelProperty(value="使用权类型")
    @SearchCondition()
    private String usufructType;

    @ApiModelProperty(value="取得方式")
    @SearchCondition()
    private String acquireWay;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="批准用途")
    private String permittedUse;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="实际用途")
    private String practicalUse;

    @SearchCondition()
    @ApiModelProperty(value="使用年限")
    private String usefulLife;

    @SearchCondition(op = SearchOp.BETWEEN)
    @ApiModelProperty(value="取得日期")
    private List<LocalDate> builddate;

    @SearchCondition()
    @ApiModelProperty(value="权属性质")
    private String ownershipType;

    @SearchCondition()
    @ApiModelProperty(value="权属证明")
    private String ownershipProve;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="权属证号")
    private String ownershipNumber;

    @SearchCondition()
    @ApiModelProperty(value="产权形式")
    private String propertyType;

    @SearchCondition()
    @ApiModelProperty(value="总建筑面积（平米）")
    private String overallFloorage;

    @SearchCondition()
    @ApiModelProperty(value="权属面积（平米）")
    private String ownershipArea;

    @SearchCondition()
    @ApiModelProperty(value="基本地价（万元）")
    private String landPrice;

    @SearchCondition(op = SearchOp.BETWEEN)
    @ApiModelProperty(value="发证日期")
    private List<LocalDate> issueDate;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="土地使用证号")
    private String landusagePermit;

    @SearchCondition()
    @ApiModelProperty(value="经度")
    private String x;

    @SearchCondition()
    @ApiModelProperty(value="纬度")
    private String y;

    @SearchCondition(op = SearchOp.LIKE)
    @ApiModelProperty(value="备注")
    private String remarks;

}
